﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200045D RID: 1117
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EnterFeverTimeActivityStageScRsp : IMessage<EnterFeverTimeActivityStageScRsp>, IMessage, IEquatable<EnterFeverTimeActivityStageScRsp>, IDeepCloneable<EnterFeverTimeActivityStageScRsp>, IBufferMessage
	{
		// Token: 0x17000E5A RID: 3674
		// (get) Token: 0x06003236 RID: 12854 RVA: 0x00089DE3 File Offset: 0x00087FE3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EnterFeverTimeActivityStageScRsp> Parser
		{
			get
			{
				return EnterFeverTimeActivityStageScRsp._parser;
			}
		}

		// Token: 0x17000E5B RID: 3675
		// (get) Token: 0x06003237 RID: 12855 RVA: 0x00089DEA File Offset: 0x00087FEA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EnterFeverTimeActivityStageScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000E5C RID: 3676
		// (get) Token: 0x06003238 RID: 12856 RVA: 0x00089DFC File Offset: 0x00087FFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EnterFeverTimeActivityStageScRsp.Descriptor;
			}
		}

		// Token: 0x06003239 RID: 12857 RVA: 0x00089E03 File Offset: 0x00088003
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterFeverTimeActivityStageScRsp()
		{
		}

		// Token: 0x0600323A RID: 12858 RVA: 0x00089E0C File Offset: 0x0008800C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterFeverTimeActivityStageScRsp(EnterFeverTimeActivityStageScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.id_ = other.id_;
			this.battleInfo_ = ((other.battleInfo_ != null) ? other.battleInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600323B RID: 12859 RVA: 0x00089E64 File Offset: 0x00088064
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterFeverTimeActivityStageScRsp Clone()
		{
			return new EnterFeverTimeActivityStageScRsp(this);
		}

		// Token: 0x17000E5D RID: 3677
		// (get) Token: 0x0600323C RID: 12860 RVA: 0x00089E6C File Offset: 0x0008806C
		// (set) Token: 0x0600323D RID: 12861 RVA: 0x00089E74 File Offset: 0x00088074
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17000E5E RID: 3678
		// (get) Token: 0x0600323E RID: 12862 RVA: 0x00089E7D File Offset: 0x0008807D
		// (set) Token: 0x0600323F RID: 12863 RVA: 0x00089E85 File Offset: 0x00088085
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Id
		{
			get
			{
				return this.id_;
			}
			set
			{
				this.id_ = value;
			}
		}

		// Token: 0x17000E5F RID: 3679
		// (get) Token: 0x06003240 RID: 12864 RVA: 0x00089E8E File Offset: 0x0008808E
		// (set) Token: 0x06003241 RID: 12865 RVA: 0x00089E96 File Offset: 0x00088096
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SceneBattleInfo BattleInfo
		{
			get
			{
				return this.battleInfo_;
			}
			set
			{
				this.battleInfo_ = value;
			}
		}

		// Token: 0x06003242 RID: 12866 RVA: 0x00089E9F File Offset: 0x0008809F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EnterFeverTimeActivityStageScRsp);
		}

		// Token: 0x06003243 RID: 12867 RVA: 0x00089EB0 File Offset: 0x000880B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EnterFeverTimeActivityStageScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.Id == other.Id && object.Equals(this.BattleInfo, other.BattleInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003244 RID: 12868 RVA: 0x00089F10 File Offset: 0x00088110
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.Id != 0U)
			{
				num ^= this.Id.GetHashCode();
			}
			if (this.battleInfo_ != null)
			{
				num ^= this.BattleInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003245 RID: 12869 RVA: 0x00089F7E File Offset: 0x0008817E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003246 RID: 12870 RVA: 0x00089F86 File Offset: 0x00088186
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003247 RID: 12871 RVA: 0x00089F90 File Offset: 0x00088190
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.battleInfo_ != null)
			{
				output.WriteRawTag(26);
				output.WriteMessage(this.BattleInfo);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.Retcode);
			}
			if (this.Id != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.Id);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003248 RID: 12872 RVA: 0x0008A008 File Offset: 0x00088208
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.Id != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Id);
			}
			if (this.battleInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.BattleInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003249 RID: 12873 RVA: 0x0008A078 File Offset: 0x00088278
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EnterFeverTimeActivityStageScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.Id != 0U)
			{
				this.Id = other.Id;
			}
			if (other.battleInfo_ != null)
			{
				if (this.battleInfo_ == null)
				{
					this.BattleInfo = new SceneBattleInfo();
				}
				this.BattleInfo.MergeFrom(other.BattleInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600324A RID: 12874 RVA: 0x0008A0F4 File Offset: 0x000882F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600324B RID: 12875 RVA: 0x0008A100 File Offset: 0x00088300
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 26U)
				{
					if (num != 40U)
					{
						if (num != 64U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Id = input.ReadUInt32();
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.battleInfo_ == null)
					{
						this.BattleInfo = new SceneBattleInfo();
					}
					input.ReadMessage(this.BattleInfo);
				}
			}
		}

		// Token: 0x040013B0 RID: 5040
		private static readonly MessageParser<EnterFeverTimeActivityStageScRsp> _parser = new MessageParser<EnterFeverTimeActivityStageScRsp>(() => new EnterFeverTimeActivityStageScRsp());

		// Token: 0x040013B1 RID: 5041
		private UnknownFieldSet _unknownFields;

		// Token: 0x040013B2 RID: 5042
		public const int RetcodeFieldNumber = 5;

		// Token: 0x040013B3 RID: 5043
		private uint retcode_;

		// Token: 0x040013B4 RID: 5044
		public const int IdFieldNumber = 8;

		// Token: 0x040013B5 RID: 5045
		private uint id_;

		// Token: 0x040013B6 RID: 5046
		public const int BattleInfoFieldNumber = 3;

		// Token: 0x040013B7 RID: 5047
		private SceneBattleInfo battleInfo_;
	}
}
